package com.syyo.gulimall.product.feign;

import com.syyo.common.domain.ResultVo;
import com.syyo.common.to.es.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: wang
 * @date: 2021/3/2 16:02
 * @Description:
 */
@FeignClient("gulimall-search")
public interface SearchFeign {

    @PostMapping("/search/save/product")
    public ResultVo productStatusUp(@RequestBody List<SkuEsModel> list);
}
